<template>
  <div class="demo-block">
    <h4>基础用法</h4>
    <div class="demo-row">
      <div>
        <my-input placeholder="请输入内容" v-model="val"></my-input>
        <br />
        <span class="demo-tips">输入值：{{val}}</span>
      </div>
    </div>
  </div>
</template>

<script>
import input from "../../../../src/components/input";

export default {
  components: {
    "my-input": input,
  },
  data() {
    return {
      val: 1,
    };
  },
};
</script>

<style>
</style>